This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 18, 2011, 10:02 AM
272 Posts

Re: Open Notes Client application from XPages

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 4
Hi,
 
if you use a link you could do it with the "notes://" - Protocol:
 
 
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">

    <xp:link escape="true" text="Link" id="link1">
        <xp:this.value><![CDATA[#{javascript:
        var mailDBServer =  "<SERVERNAME>" ;
        var mailDBPath="<PATH TO MAILFILE>"; /* Pathes uses slashes not backslashes! */
        "notes://" + mailDBServer + "/" + mailDBPath;
}]]></xp:this.value>
    </xp:link>
    
</xp:view>

 
 
Sven
Aug 20, 2011, 9:52 AM
9 Posts
Re: Open Notes Client application from XPages
Hi Svan,
Thank you very much, i managed to open an application by using your suggested code. 
Curretly, i hardcode the server and file name to test out.  
 
How about i need to get the server and file name value from the current document ? 
Thank you very much ! 
 
Regards. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal